<?php

$RACINE="/mnt/147/sdb/f/c/hitmaxpro/SITE_SCRUM";
require_once $RACINE."/CLASSES/ConBDD.class.php";
require_once $RACINE."/CLASSES/GestionGlossaire.class.php";
require_once $RACINE."/CLASSES/GestionRole.class.php";
require_once $RACINE."/CLASSES/GestionContenu.class.php";
require_once $RACINE."/CLASSES/Role.class.php";
require_once $RACINE."/CLASSES/Glossaire.class.php";
require_once $RACINE."/CLASSES/Contenu.class.php";

function noAccents($str){
    $txt=mb_strtolower($str, 'UTF-8');
    $search =explode(',','á,à,â,ä,ã,å,ç,é,è,ê,ë,í,ì,î,ï,ñ,ó,ò,ô,ö,õ,ú,ù,û,ü,ý,ÿ');
    $replace=explode(',','a,a,a,a,a,a,c,e,e,e,e,i,i,i,i,n,o,o,o,o,o,u,u,u,u,y,y');
    $txt=  str_replace($search,$replace,$txt);
    $txt=  preg_replace('#[^a-zA-Z0-9\-\._]#', '_', $txt);
    return $txt;
}

$conBDD=new ConBDD();
?>
